package vn.edu.nuce.service;

import org.springframework.transaction.annotation.Transactional;

import vn.edu.nuce.dao.UserDao;
import vn.edu.nuce.model.User;
@Transactional(readOnly=true)
public class UserServiceImpl implements UserService{
	UserDao userDao;

	public UserDao getUserDao() {
		return userDao;
	}

	public void setUserDao(UserDao userDao) {
		this.userDao = userDao;
	}

	public User getById(String id) {
		return getUserDao().getById(id);
	}

}
